﻿using Unity.VisualScripting;
using UnityEngine;

[CreateAssetMenu(fileName ="NewSkill",menuName ="SkillSytem/Skill/NewSkill")]
public class Skill:ScriptableObject
{
    public SkillConfig SkillConfig; 
    /// <summary>
    /// 释放技能
    /// </summary>
    public void PlaySkill() 
    {
        //生成特效
        Debug.Log("开始释放技能");
        //播放音效
        Debug.Log("播放音效");
    }
    /// <summary>
    /// 技能生效
    /// </summary>
    public void OnSkill() 
    {
        //生成特效
        Debug.Log("技能释放");
        //播放音效
    
    }

    /// <summary>
    /// 技能完成
    /// </summary>
    public void SkillComplete()
    {
        Debug.Log("生成飞行道具");
        Debug.Log("技能完成");
    }

   
    /// <summary>
    /// 技能结束
    /// </summary>
    public void SkillEnd()
    {
        Debug.Log("技能结束");
    }





}
